package com.dhwl.hsh.merchant.presenter.iview;

import com.dhwl.hsh.lib.bean.resp.OrderDetailResp;
import com.dhwl.hsh.lib.bean.resp.OrderListResponse;
import com.dhwl.hsh.lib.core.HshException;
import com.dhwl.hsh.lib.core.mvp.MvpView;

import java.util.List;

/**
 * 简要描述
 *
 * @author Derek.Kidd
 * @version V1.0.0
 * @date 2016-04-18 20:13
 */
public interface IOrderDetailView {

    /**
     * 业务数据发生错误
     *
     * @param e e
     */
    void onOrderDetailFailure(HshException e);

    /**
     * 请求成功
     *
     * @param orderDetailResp
     */
    void onOrderDetailSuccess(OrderDetailResp orderDetailResp);

    /**
     * 取消订单失败
     *
     * @param e
     */
    void onCancelOrderFalure(HshException e);

    /**
     * 取消订单成功
     */
    void onCancelOrderSuc();
}
